package cn.tedu.shoppingmall.vo;

import java.util.Arrays;
import java.util.List;

public class Commodity {
    private Integer id;
    private String name;
    private String intro;
    private Integer sum;
    private Integer salesnum;
    private Double price;
    private Integer classId;
    private String url;
    private Integer shownum;
    private Integer searchnum;
    private Integer paynum;
    //    存轮播图片集
    private List<String> urls;

    @Override
    public String toString() {
        return "Commodity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", intro='" + intro + '\'' +
                ", sum=" + sum +
                ", salesnum=" + salesnum +
                ", price=" + price +
                ", classId=" + classId +
                ", url='" + url + '\'' +
                ", shownum=" + shownum +
                ", searchnum=" + searchnum +
                ", paynum=" + paynum +
                ", urls=" + urls +
                '}';
    }

    public Integer getShownum() {
        return shownum;
    }

    public void setShownum(Integer shownum) {
        this.shownum = shownum;
    }

    public Integer getSearchnum() {
        return searchnum;
    }

    public void setSearchnum(Integer searchnum) {
        this.searchnum = searchnum;
    }

    public Integer getPaynum() {
        return paynum;
    }

    public void setPaynum(Integer paynum) {
        this.paynum = paynum;
    }

    public List<String> getUrls() {
        return urls;
    }

    public void setUrls(List<String> urls) {
        this.urls = urls;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public Integer getSalesnum() {
        return salesnum;
    }

    public void setSalesnum(Integer salesnum) {
        this.salesnum = salesnum;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
